package top.sehnsucht.service.impl;

import top.sehnsucht.dao.StudentDao;
import top.sehnsucht.entity.Student;
import top.sehnsucht.entity.User;
import top.sehnsucht.service.StudentService;

import java.util.ArrayList;

/**
 * @Description:
 * @Author: Cai
 * @CreateTime: 2021/12/21
 */

public class StudentServiceImpl implements StudentService {
    private StudentDao studentDao;

    public StudentServiceImpl(StudentDao studentDao) {
        this.studentDao = studentDao;
    }

    @Override
    public ArrayList<Student> selectAllStudent() {
        return studentDao.selectAllStudent();
    }
}
